package com.ruoyi.back.service.v3

import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.baomidou.mybatisplus.extension.service.IService
import com.ruoyi.app.common.Data
import com.ruoyi.back.domain.v3.ExperienceRecord
import com.ruoyi.back.domain.v3.dto.UserExperienceRecordSearchDto

interface ExperienceRecordService : IService<ExperienceRecord> {


    /**
     * 保存体验的相关信息
     */
    fun saveExperienceRecordInfo(experienceRecord: ExperienceRecord): Data<Boolean>


    /**
     * 获取体验模板
     */
    fun getExperienceRecordList(userExperienceRecordSearchDto: UserExperienceRecordSearchDto): Page<ExperienceRecord>


    /**
     * 移除体验模板
     */
    fun removeExperienceRecord(ids: String): Data<Boolean>
}